

 


using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Core;
using WcfService1.DTO;


namespace WcfService1
{
    // NOTE: You can use the "Rename" command on the "Refactor" CashBankOut to change the interface name "ICashBankOutServices" in both code and config file together.
    [ServiceContract]
    public interface ICashBankOutServices
    {
        [OperationContract]
        List<CashBankOutDTO> GetList(int page, out long recordCount, string sortProperty = null, string sortType = "ASC");

        [OperationContract]
        bool Save(CashBankOutDTO CashBankOut);

        [OperationContract]
        bool Delete(CashBankOutDTO CashBankOut);

        [OperationContract]
        List<CashBankOutDTO> GetListByCriteria(Dictionary<String, Object> criteria, string expression, int page,
                                      out long recordCount);

        [OperationContract]
        List<CashBankOutDTO> GetAllCashBankOut();

        [OperationContract]
        CashBankOutDTO GetCashBankOut(string kodeCashBankOut);

        [OperationContract]
        List<CashBankOutDTO> GetCashBankOutList(string kodeCashBankOut);

        [OperationContract]
        string GetLastNumber(string kodeBank);
    }
}


